Associate Event

       

Fired after a new connection is associated with the object.

Syntax

Private Sub object.Associate( )

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

This event is raised after the result set is associated with a new rdoConnection object. You can use this event to initialize the new connection. The ActiveConnection property of the associated rdoResultset object refers to the new connection.

For example, you can use the Associate event procedure to send a special query each time a connection is established, but before other operations are executed.